import { httpPost } from "./httpPost";

export function parseShareLink(shareLink: string, name: string): any {
    try {
        return httpPost('leader/getUserId', { url: shareLink, name })
    } catch (e) {
        console.log(e)
        return {}
    }
}